package com.shroo8.footballblog.bo.api;

import javax.annotation.Resource;

import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;

import com.shroo8.footballblog.dto.api.ArticleDto;
import com.shroo8.footballbloglib.dao.footballblogread.GetArticleDao;

@Service(value="getArticleBo")
public class GetArticleBoImpl implements GetArticleBo{

	@Resource(name="getArticleDao")
	private GetArticleDao getArticleDao;
	
	@Override
	public ArticleDto getArticle(String articleId) throws DataAccessException {		
		return getArticleDao.execute(articleId);
	}
	
}
